package router

import (
	"k8sops/pkg/apis"
	v1 "k8sops/pkg/router/v1"

	"github.com/gin-gonic/gin"
)

func InitRouter(r *gin.Engine) {
	r.GET("/ping", apis.Ping)

	version := r.Group("/api/v1")
	v1.Register(version)
}
